birth pangs

Translations
родовые муки
The company went through birth pangs before it became successful.
Компания пережила родовые муки, прежде чем стать успешной.
Definitions
Birth pangs are the pains and contractions experienced by a woman during childbirth. The phrase is also used metaphorically to describe the initial difficulties or struggles that occur when something new is beginning or being created.